/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.order.entity.OrderCampaign
   Module Description   :

   Date Created      : 2011/6/13
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.order.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author feeling.wang
 * 
 */
@Entity
@Table(name = "EC_ORDER_CREDITCARD_CAMPAIGN")
public class OrderCreditCardCampaign implements Serializable {
	/** serialVersionUID */
	private static final long serialVersionUID = 7486326359798096753L;

	/** uuid */
	@Id
	@GeneratedValue(generator = "assigned")
	@GenericGenerator(name = "assigned", strategy = "assigned")
	@Column(name = "ORDER_ID", nullable = false, length = 13)
	private String orderId;// 訂單編號

	@Column(name = "CREDITCARD_DETAIL_ID")
	private Long creditcardDetailId;// 活動明細

	@Column(name = "CREDITCARD_ID")
	private Long creditcardId;// 活動主檔

	@Column(name = "CREDITCARD_PERIOD", length = 40)
	private String creditcartPeriod;// 分期期數

	@Column(name = "CREDITCARD_PERCENTAGE")
	private Float creditcartPercentage;// 手續費%

	@Column(name = "PRODUCT_ID")
	private String productId;// 商品編號

	public String getOrderId() {
		return orderId;
	}

	public Long getCreditcardId() {
		return creditcardId;
	}

	public String getCreditcartPeriod() {
		return creditcartPeriod;
	}

	public Float getCreditcartPercentage() {
		return creditcartPercentage;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public void setCreditcardId(Long creditcardId) {
		this.creditcardId = creditcardId;
	}

	public void setCreditcartPeriod(String creditcartPeriod) {
		this.creditcartPeriod = creditcartPeriod;
	}

	public void setCreditcartPercentage(Float creditcartPercentage) {
		this.creditcartPercentage = creditcartPercentage;
	}

	public Long getCreditcardDetailId() {
		return creditcardDetailId;
	}

	public void setCreditcardDetailId(Long creditcardDetailId) {
		this.creditcardDetailId = creditcardDetailId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}
}